<template>
	<view class="content">
		<lyg-popup @popupState="popupState" title="服务协议" protocolPath='../webview/webview?can_share=false&url=/hybrid/html/protocol.html'
		 policyPath='../webview/webview?can_share=false&url=/hybrid/html/policy.html' policyStorageKey="has_read_privacy"></lyg-popup>
	</view>
</template>

<script>
	import lyg_popup from '@/components/lyg-popup/lyg-popup.vue';

	import {
		mapMutations
	} from 'vuex';

	export default {
		components: {
			lyg_popup
		},
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			popupState(state) {
				console.log(state);
			}
		}
	}
</script>

<style>
</style>
